package com.qingdai.business.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qingdai.business.emuns.PermissionDTO;
import com.qingdai.business.emuns.RoleDTO;
import com.qingdai.business.emuns.UserRole;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author LiuZiMing
 * @since 2024-01-26
 */
public interface UserRoleService extends IService<UserRole> {

    List<RoleDTO> getRolesByUserId(Integer userId);

    List<PermissionDTO> getPermissionsByUserId(Integer userId);
}
